package com.spring.mvc.pojo;

import java.io.Serializable;

@SuppressWarnings("serial")
public class News implements Serializable {

	private int id;//新闻ID
	private String title;//新闻标题
	private String author;//新闻作者
	private String content;//新闻内容
	private String createTime;//创建时间
	private long clickNum;//点击次数
	private String releasePro;//发布者
	private String from;//来源
	private int commentNum;//评论次数
	private String summary;//摘要
	private int type;//新闻类型
	
	public void setType(int type) {
		this.type = type;
	}
	public int getType() {
		return type;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public long getClickNum() {
		return clickNum;
	}
	public void setClickNum(long clickNum) {
		this.clickNum = clickNum;
	}
	public String getReleasePro() {
		return releasePro;
	}
	public void setReleasePro(String releasePro) {
		this.releasePro = releasePro;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public int getCommentNum() {
		return commentNum;
	}
	public void setCommentNum(int commentNum) {
		this.commentNum = commentNum;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
}
